home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
utility
/
flex236.zip
/
PATCHES
< prev
next >
Wrap
Text File
|
1990-11-01
|
5KB
|
187 lines
*** e:\tmp/RCSt1006565 Sat Oct 27 22:27:54 1990
--- flex.ske Sat Oct 27 20:59:02 1990
***************
*** 1,7 ****
/* A lexical scanner generated by flex */
/* scanner skeleton version:
! * $Header: e:/gnu/flex/RCS/flex.ske 2.3.0.3 90/08/13 09:29:24 tho Exp $
*/
#define FLEX_SCANNER
--- 1,7 ----
/* A lexical scanner generated by flex */
/* scanner skeleton version:
! * $Header: e:/gnu/flex/RCS/flex.ske 2.3.0.4 90/08/14 21:17:44 tho Exp $
*/
#define FLEX_SCANNER
***************
*** 46,51 ****
--- 46,57 ----
#endif /* __STDC__ */
#endif /* ! __cplusplus */
+ #ifdef MSDOS
+ #if defined (_MSC_VER) && (_MSC_VER == 600)
+ #define register /* MSC 6.0 Compiler dies with fatal internal */
+ #pragma optimize ("e", off) /* error during register allocation ... */
+ #endif /* MSC 6.0 */
+ #endif /* MSDOS */
#ifdef __TURBOC__
#define YY_USE_CONST
*** e:\tmp/RCSt1006565 Sat Oct 27 22:28:00 1990
--- flexdef.h Sat Oct 27 22:05:02 1990
***************
*** 26,32 ****
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
! /* @(#) $Header: e:/gnu/flex/RCS/flexdef.h 2.3.0.3 90/08/13 09:29:27 tho Exp $ (LBL) */
#ifndef FILE
#include <stdio.h>
--- 26,32 ----
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
! /* @(#) $Header: e:/gnu/flex/RCS/flexdef.h 2.3.0.4 90/08/14 21:17:31 tho Exp $ (LBL) */
#ifndef FILE
#include <stdio.h>
***************
*** 866,871 ****
--- 866,875 ----
/* The Unix kernel calls used here */
+ #ifdef MSDOS
+ #include <io.h>
+ #else /* not MSDOS */
extern int read PROTO((int, char*, int));
extern int unlink PROTO((char*));
extern int write PROTO((int, char*, int));
+ #endif /* not MSDOS */
*** e:\tmp/RCSt1006565 Sat Oct 27 22:28:06 1990
--- misc.c Sat Oct 27 22:10:44 1990
***************
*** 28,34 ****
#ifndef lint
static char rcsid[] =
! "@(#) $Header: e:/gnu/flex/RCS/misc.c 2.3.6.1 90/10/27 19:45:15 tho Exp $ (LBL)";
#endif
#include <ctype.h>
--- 28,34 ----
#ifndef lint
static char rcsid[] =
! "@(#) $Header: e:/gnu/flex/RCS/misc.c 2.3.6.2 90/10/27 20:10:24 tho Exp $ (LBL)";
#endif
#include <ctype.h>
***************
*** 400,406 ****
#ifdef MS_DOS
#include <time.h>
! typedef long time_t;
#endif
char *flex_gettime()
--- 400,406 ----
#ifdef MS_DOS
#include <time.h>
! /* typedef long time_t; it's in <time.h>! [tho]: Mon Aug 13 09:50:53 1990 */
#endif
char *flex_gettime()
*** e:\tmp/RCSt1006565 Sat Oct 27 22:28:16 1990
--- initscan.c Sat Oct 27 22:04:52 1990
***************
*** 1,7 ****
/* A lexical scanner generated by flex */
/* scanner skeleton version:
! * $Header: e:/gnu/flex/RCS/initscan.c 2.3 90/10/27 20:16:31 tho Exp $
*/
#define FLEX_SCANNER
--- 1,7 ----
/* A lexical scanner generated by flex */
/* scanner skeleton version:
! * $Header: e:/gnu/flex/RCS/initscan.c 2.3.6.1 90/10/27 21:31:32 tho Exp $
*/
#define FLEX_SCANNER
***************
*** 46,51 ****
--- 46,57 ----
#endif /* __STDC__ */
#endif /* ! __cplusplus */
+ #ifdef MSDOS
+ #if defined (_MSC_VER) && (_MSC_VER == 600)
+ #define register /* MSC 6.0 Compiler dies with fatal internal */
+ #pragma optimize ("e", off) /* error during register allocation ... */
+ #endif /* MSC 6.0 */
+ #endif /* MSDOS */
#ifdef __TURBOC__
#define YY_USE_CONST
***************
*** 196,202 ****
#ifndef lint
static char rcsid[] =
! "@(#) $Header: e:/gnu/flex/RCS/initscan.c 2.3 90/10/27 20:16:31 tho Exp $ (LBL)";
#endif
#undef yywrap
--- 202,208 ----
#ifndef lint
static char rcsid[] =
! "@(#) $Header: e:/gnu/flex/RCS/initscan.c 2.3.6.1 90/10/27 21:31:32 tho Exp $ (LBL)";
#endif
#undef yywrap
*** e:\tmp/RCSt1006565 Sat Oct 27 22:28:24 1990
--- parse.y Sat Oct 27 22:22:22 1990
***************
*** 32,38 ****
#ifndef lint
static char rcsid[] =
! "@(#) $Header: e:/gnu/flex/RCS/parse.y 2.3 90/08/13 09:13:28 tho Exp $ (LBL)";
#endif
#include "flexdef.h"
--- 32,38 ----
#ifndef lint
static char rcsid[] =
! "@(#) $Header: e:/gnu/flex/RCS/parse.y 2.3.0.2 90/10/27 22:22:01 tho Exp $ (LBL)";
#endif
#include "flexdef.h"
***************
*** 44,49 ****
--- 44,54 ----
static int madeany = false; /* whether we've made the '.' character class */
int previous_continued_action; /* whether the previous rule's action was '|' */
+ void yyerror PROTO((char *));
+ void build_eof_action PROTO((void));
+ #ifdef MSDOS /* bison uses alloca () */
+ #include <malloc.h>
+ #endif
%}
%%